VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfFontManager Class / CreateCIDFontFromTextSymbols Methods / CreateCIDFontFromTextSymbols(String,FontSymbolOutline[],FontSymbolOutline[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    CreateCIDFontFromTextSymbols(String,FontSymbolOutline[],FontSymbolOutline[]) Method (PdfFontManager)
    In This Topic
    Creates a CID font, which is based on information about font symbol outlines.
    Syntax
    'Declaration
    
    Public Overloads Function CreateCIDFontFromTextSymbols( _
    ByVal fontName
    The font name.
    As System.String, _
    ByVal symbols
    The font symbol outlines to encode.
    () As Vintasoft.Imaging.Fonts.FontSymbolOutline, _
    ByRef encodedSymbols
    The font symbol outlines, which are saved to the font.
    () As Vintasoft.Imaging.Fonts.FontSymbolOutline _
    ) As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont

    Parameters

    fontName
    The font name.
    symbols
    The font symbol outlines to encode.
    encodedSymbols
    The font symbol outlines, which are saved to the font.

    Return Value

    CID PdfFont.
    Exceptions
    ExceptionDescription
    Thrown if symbols is null.
    Thrown if symbols contains 0 items.
    Thrown if symbols contains more than 255 items.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also